import DefaultTheme from 'vitepress/theme';
import Mermaid from './Mermaid.vue';

export default {
  extends: DefaultTheme,
  enhanceApp({ app }) {
    // 全局注册 Mermaid 组件
    app.component('Mermaid', Mermaid);
  },
};
